package com.duan.ssm.dao;

import com.duan.ssm.entity.Department;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;


public interface DeptDao {
    /*新增*/
    int save(Department department);

    /*删除*/

    int delete(Integer id);
    /*查询*/

    int update(@Param("name1") String name1, String info);
    List<Department> select();

}
